package com.open.capacity.activity.service.impl;

import com.open.capacity.activity.dao.ResumeActivityDao;
import com.open.capacity.activity.service.ResumeActivityService;
import com.open.capacity.common.model.ResumeActivity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @program: open-capacity-platform
 * @description: 业务实现
 * @author: bellweather
 * @create: 2021-01-19 17:14
 **/

@Service
public class ResumeActivityServiceimpl implements ResumeActivityService {

    @Autowired
    private ResumeActivityDao resumeActivityDao;
    @Override
    public int save(ResumeActivity resumeActivity) {
        return resumeActivityDao.save(resumeActivity);
    }

    @Override
    public List<ResumeActivity> getList(Map<String, Object> params) {
        return resumeActivityDao.getList(params);
    }

    @Override
    public int delelte(long id) {
        return resumeActivityDao.delelte(id);
    }
}
